<div class="pageContent">
    <form method="post" action="<?php echo __URL__ . '/update'; ?>" class="pageForm required-validate"
          onsubmit="return validateCallback(this, dialogAjaxDone)">
        <input type="hidden" name="<?php echo $_REQUEST['PK']; ?>" value="<?php echo $DATA[$_REQUEST['PK']] ?>"/>

        <div class="pageFormContent" layoutH="58">
            <div class="unit">
                <label>节点访问地址：</label>
                <a target="navTab" href="<?php echo site_url( $DATA["modules"].'/'. $DATA["controller"].'/'.$DATA["method"]); ?>"><?php echo site_url( $DATA["modules"].'/'. $DATA["controller"].'/'.$DATA["method"]); ?></a>
            </div>

            <div class="unit">
                <label>标题：</label>
                <input type="text" name="DATA[title]" maxlength="50" class="" value="<?php echo $DATA["title"]; ?>"/>
                <span class="info">标题</span>
            </div>

            <div class="unit">
                <label>状态：</label>
                <?php
                $options = array(
                    "1" => "可用",
                    "0" => "禁用",
                );
                echo form_dropdown("DATA[status]", $options, $DATA["status"]);
                ?>
                <span class="info">状态</span>
            </div>
            <div class="unit">
                <label>所属栏目：</label>
                <select name="DATA[node_groupid]">
                    <?PHP echo $this->admin_node_group_model->get_admin_node_group_option_tree($DATA["node_groupid"]);?>
                </select>
            </div>

            <div class="unit">
                <label>排序：</label>
                <input type="text" name="DATA[sort_order]" maxlength="6" class=""
                       value="<?php echo $DATA["sort_order"]; ?>"/>
                <span class="info">排序</span>
            </div>

            <div class="unit">
                <label>描述：</label>
                <!--<input type="text" name="DATA[remark]" maxlength="255"  class="" value="<?php /*echo $DATA["remark"]; */ ?>"/>-->
                <textarea rows="2" cols="60" name="DATA[remark]"
                          class="textInput"><?php echo $DATA["remark"]; ?></textarea>
                </br><span class="info">描述</span>
            </div>
            <!--<div class="divider"></div>-->

        </div>

        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">提交</button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button class="close" type="button">取消</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>